import request from '@/utils/request'

export function getLinkInfo(data,page) {
    return request({
        url: '/Wx_store_active/get_qr_code_list/'+(page?page:1),
        method: 'post',
        data: data
    })
}

export function getLinkInfoPage(data) {
    return request({
        url: '/Wx_store_active/get_qr_code_list_page',
        method: 'post',
        data: data
    })
}

export function create_qr_code(data) {
    return request({
        url: '/Wx_store_active/create_qr_code',
        method: 'post',
        data: data
    })
}

export function del_qr_code(data) {
    return request({
        url: '/Wx_store_active/del_qr_code',
        method: 'post',
        data: data
    })
}
